package com.bobby.dao;

import com.bobby.pojo.Order;

import java.sql.SQLException;
import java.util.List;

/**
 * @Description TODO
 * @Date 2020/8/16 15:01
 * @Created wenjunpei
 */
public interface OrderDao {

    void saveOrder(Order order) throws SQLException;
    List<Order> queryOrders() throws SQLException;
    void changerOrderStatus(String orderId,Integer status) throws SQLException;
    List<Order> queryOrdersByUserId(Integer userId) throws SQLException;
}
